package com.haoshuang.zhouzhoubang.ui.adapter


import android.graphics.Color

import com.haoshuang.zhouzhoubang.databinding.ItemTs2BondBinding
import com.haoshuang.zhouzhoubang.model.bean.BzjData
import com.mufeng.libs.base.BaseBindingHolder
import com.mufeng.libs.base.BaseBindingQuickAdapter


/**
 * 订单模块中的订单列表适配器
 * */
class BondTd2Adapter(data: MutableList<BzjData.PayCategory>) :
    BaseBindingQuickAdapter<BzjData.PayCategory, ItemTs2BondBinding>(data) {

    override fun onBindViewHolder(
        holder: BaseBindingHolder,
        position: Int,
        item: BzjData.PayCategory?
    ) {
        val binding = ItemTs2BondBinding.bind(holder.itemView)
        binding.apply {
            tvName.setText(item?.cate_name)

        }
    }

}